package com.tepth.shadow.ui.launcher;

import android.content.Context;
import android.support.v7.widget.AppCompatImageView;
import android.view.View;

import com.bigkoo.convenientbanner.holder.Holder;

/**
 * @author zhangyu
 * @date 2017/10/25
 */

public class LauncherHolder implements Holder<Integer> {
    private AppCompatImageView mImageView;

    @Override
    public View createView(Context context) {
        return mImageView = new AppCompatImageView(context);
    }

    @Override
    public void UpdateUI(Context context, int position, Integer data) {
        mImageView.setImageResource(data);
    }


}
